/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import modelo.GrupoSensor;
import dao.generic.GenericDAO;


/**
 *
 * @author Administrador
 */
public class GrupoSensorDAO extends GenericDAO {
    public GrupoSensor getGrupoSensrobyId(int idGrupoSensor){
        GrupoSensor gs= null;
        try{
            iniciarOperacion();
            gs = (GrupoSensor) sesion.get(GrupoSensor.class,idGrupoSensor);
            
        }finally{
            sesion.close();
        }
        return gs;
    }
    
}
